Skip to content

chore(deps): bump the pi-stack group across 1 directory with 2 updates - #578

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/pi-stack-87c41b9f75
Closed

chore(deps): bump the pi-stack group across 1 directory with 2 updates#578
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/pi-stack-87c41b9f75

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 15, 2026

Copy link
Copy Markdown
Contributor

Bumps the pi-stack group with 2 updates in the / directory: @earendil-works/pi-agent-core and @earendil-works/pi-ai.

Updates @earendil-works/pi-agent-core from 0.79.1 to 0.80.3

Release notes

Sourced from @​earendil-works/pi-agent-core's releases.

v0.80.3

New Features

  • Anthropic Claude Sonnet 5 support - Claude Sonnet 5 is available through inherited Anthropic-compatible and Bedrock provider catalogs with adaptive thinking enabled. See Providers and Model Options.
  • Configurable output spacing - outputPad controls horizontal padding for user messages, assistant messages, and thinking blocks. See Settings.
  • External editor configuration - externalEditor lets Ctrl+G use a configured editor before $VISUAL/$EDITOR fallbacks. See Settings and Keybindings.
  • Richer RPC session tree access - RPC clients can inspect session entries and tree snapshots with get_entries and get_tree. See get_entries and get_tree.
  • Extension session metadata updates - Extensions can observe session name changes through session_info_changed. See session_info_changed.
  • Modern Azure Foundry endpoint support - Azure OpenAI Responses provider setup supports current Microsoft Foundry endpoint URLs. See Azure OpenAI.

Added

  • Added inherited Anthropic Claude Sonnet 5 model support.
  • Added get_entries and get_tree RPC commands for reading session entries and tree snapshots over RPC (#6078 by @​geraschenko).
  • Added a package ./rpc-entry export for launching Pi directly in RPC mode.
  • Added session-name change events for extensions (#6175 by @​xl0).
  • Added inherited Azure OpenAI Responses support for modern Microsoft Foundry endpoint URLs (#6004 by @​gukoff).
  • Added inherited Usage.reasoning token counts for providers that report reasoning/thinking token usage (#6057).
  • Added an externalEditor settings.json override for Ctrl+G external editor commands, with default fallbacks to Notepad on Windows and nano elsewhere (#6122).
  • Added an outputPad setting for user message, assistant message, and thinking horizontal padding (#6168).

Changed

  • Changed the default OpenAI model to gpt-5.5.
  • Changed inherited OpenAI Codex Responses SSE response-header waits to use the configured HTTP timeout instead of the previous fixed 20 second timeout, reducing false timeouts on slow connections (#4945).

Fixed

  • Fixed inherited Claude Sonnet 5 metadata to use adaptive thinking payloads for Anthropic-compatible and Bedrock requests.
  • Fixed inherited generated Xiaomi MiMo model pricing to match current pay-as-you-go pricing from models.dev (#6138).
  • Fixed inherited provider HTTP errors to include response bodies instead of opaque SDK messages (#5832 by @​stephanmck).
  • Fixed inherited streamSimple() max-token caps so providers that count input and output against one context window do not reject long requests (#5595).
  • Fixed inherited OpenAI Responses streams to preserve reasoning replay state when output items finish out of order (#6009).
  • Fixed inherited Z.AI preserved thinking requests to send thinking.clear_thinking: false when thinking is enabled, allowing replayed reasoning_content to participate in provider caching (#6083).
  • Fixed pre-prompt compaction to stop after compaction instead of continuing immediately (#6074 by @​yzhg1983).
  • Fixed resource notifications to stay before messages when resuming sessions (#6048 by @​haoqixu).
  • Fixed startup benchmark timing output to print after TUI shutdown, preserve extension timings, and drain terminal-query replies before stopping benchmark mode (#6030 by @​xl0, #6063 by @​xl0).
  • Fixed extension tool changes to apply before the next provider request in the same agent run without dropping before_agent_start system-prompt overrides (#6162).
  • Fixed a crash when undici emits an internal client error while terminating a mid-stream HTTP response (#6133).
  • Fixed the compaction event regression test to cover status indicator cleanup and keep CI passing.
  • Fixed interactive status indicators so ending work, retry, compaction, or branch-summary indicators no longer shrink the TUI when clear-on-shrink is enabled (#6026).
  • Fixed --session and SessionManager.open() to reject non-empty invalid session files without overwriting them (#6002).
  • Fixed user-message transcript rendering to keep visible backslashes in Markdown escape sequences such as \" (#6105).
  • Fixed assistant messages stopped by output length to show a visible incomplete-response error (#4290).
  • Fixed --no-session --session-id so ephemeral CLI runs can use deterministic session IDs for provider cache affinity (#6070).
  • Fixed disk BMP image files to be detected, converted to PNG, and attached through read and CLI @file inputs (#6047).
  • Fixed auto-retry for provider stream errors that explicitly tell callers to retry the request (#6019).

v0.80.2

Changed

... (truncated)

Changelog

Sourced from @​earendil-works/pi-agent-core's changelog.

[0.80.3] - 2026-06-30

Added

  • Added prepareNextTurnWithContext for Agent users that need the next-turn loop context.

Fixed

  • Fixed oversized harness shell execution timeouts to fail with a clear validation error instead of being clamped to an immediate timeout (#6181).
  • Fixed Agent.prepareNextTurn to keep receiving the run abort signal instead of the next-turn context.

[0.80.2] - 2026-06-23

Changed

  • Renamed the public harness shell execution options type from ExecutionEnvExecOptions to ShellExecOptions.

[0.80.1] - 2026-06-23

[0.80.0] - 2026-06-23

Breaking Changes

  • AgentHarnessOptions.models is required and is the only auth path: the harness streams turns, compaction, and branch summarization through the provided Models instance (models.streamSimple()/completeSimple()), resolving auth through the providers. AgentHarnessOptions.getApiKeyAndHeaders is removed — apps that resolved keys per request now express that as provider auth (ApiKeyAuth/OAuthAuth) on the providers in the Models collection. Build one with createModels() + provider factories (or builtinModels() from @earendil-works/pi-ai/providers/all); tests use fauxProvider().
  • compact(), generateSummary(), and generateBranchSummary() take a Models parameter and no longer accept explicit apiKey/headers.
  • StreamFn is defined structurally ((model, context, options?) => AssistantMessageEventStream | Promise<...>); Models.streamSimple satisfies it.
  • Removed the @earendil-works/pi-agent-core/base selective-provider entrypoint; use the root package with an explicit Models instance instead.

Fixed

  • Fixed harness session names to normalize newline characters before storing labels (#5999 by @​haoqixu).
  • Fixed harness compaction estimates to ignore malformed all-zero assistant usage after truncated responses (#5526 by @​dmmulroy).
Commits
  • a23abe4 Release v0.80.3
  • fd6659d fix(coding-agent): preserve run prompt during tool refresh
  • e547bb9 fix(coding-agent): refresh session state before next turn
  • c29bbc0 docs(agent): update models phase 9 plan
  • 8277bd6 Add [Unreleased] section for next cycle
  • 0201806 Release v0.80.2
  • 9096d5f docs: update changelog entries
  • 49fbe68 fix(ai): align api key credentials with auth json
  • b377623 Type name change
  • e000743 Add [Unreleased] section for next cycle
  • Additional commits viewable in compare view

Updates @earendil-works/pi-ai from 0.79.1 to 0.80.3

Release notes

Sourced from @​earendil-works/pi-ai's releases.

v0.80.3

New Features

  • Anthropic Claude Sonnet 5 support - Claude Sonnet 5 is available through inherited Anthropic-compatible and Bedrock provider catalogs with adaptive thinking enabled. See Providers and Model Options.
  • Configurable output spacing - outputPad controls horizontal padding for user messages, assistant messages, and thinking blocks. See Settings.
  • External editor configuration - externalEditor lets Ctrl+G use a configured editor before $VISUAL/$EDITOR fallbacks. See Settings and Keybindings.
  • Richer RPC session tree access - RPC clients can inspect session entries and tree snapshots with get_entries and get_tree. See get_entries and get_tree.
  • Extension session metadata updates - Extensions can observe session name changes through session_info_changed. See session_info_changed.
  • Modern Azure Foundry endpoint support - Azure OpenAI Responses provider setup supports current Microsoft Foundry endpoint URLs. See Azure OpenAI.

Added

  • Added inherited Anthropic Claude Sonnet 5 model support.
  • Added get_entries and get_tree RPC commands for reading session entries and tree snapshots over RPC (#6078 by @​geraschenko).
  • Added a package ./rpc-entry export for launching Pi directly in RPC mode.
  • Added session-name change events for extensions (#6175 by @​xl0).
  • Added inherited Azure OpenAI Responses support for modern Microsoft Foundry endpoint URLs (#6004 by @​gukoff).
  • Added inherited Usage.reasoning token counts for providers that report reasoning/thinking token usage (#6057).
  • Added an externalEditor settings.json override for Ctrl+G external editor commands, with default fallbacks to Notepad on Windows and nano elsewhere (#6122).
  • Added an outputPad setting for user message, assistant message, and thinking horizontal padding (#6168).

Changed

  • Changed the default OpenAI model to gpt-5.5.
  • Changed inherited OpenAI Codex Responses SSE response-header waits to use the configured HTTP timeout instead of the previous fixed 20 second timeout, reducing false timeouts on slow connections (#4945).

Fixed

  • Fixed inherited Claude Sonnet 5 metadata to use adaptive thinking payloads for Anthropic-compatible and Bedrock requests.
  • Fixed inherited generated Xiaomi MiMo model pricing to match current pay-as-you-go pricing from models.dev (#6138).
  • Fixed inherited provider HTTP errors to include response bodies instead of opaque SDK messages (#5832 by @​stephanmck).
  • Fixed inherited streamSimple() max-token caps so providers that count input and output against one context window do not reject long requests (#5595).
  • Fixed inherited OpenAI Responses streams to preserve reasoning replay state when output items finish out of order (#6009).
  • Fixed inherited Z.AI preserved thinking requests to send thinking.clear_thinking: false when thinking is enabled, allowing replayed reasoning_content to participate in provider caching (#6083).
  • Fixed pre-prompt compaction to stop after compaction instead of continuing immediately (#6074 by @​yzhg1983).
  • Fixed resource notifications to stay before messages when resuming sessions (#6048 by @​haoqixu).
  • Fixed startup benchmark timing output to print after TUI shutdown, preserve extension timings, and drain terminal-query replies before stopping benchmark mode (#6030 by @​xl0, #6063 by @​xl0).
  • Fixed extension tool changes to apply before the next provider request in the same agent run without dropping before_agent_start system-prompt overrides (#6162).
  • Fixed a crash when undici emits an internal client error while terminating a mid-stream HTTP response (#6133).
  • Fixed the compaction event regression test to cover status indicator cleanup and keep CI passing.
  • Fixed interactive status indicators so ending work, retry, compaction, or branch-summary indicators no longer shrink the TUI when clear-on-shrink is enabled (#6026).
  • Fixed --session and SessionManager.open() to reject non-empty invalid session files without overwriting them (#6002).
  • Fixed user-message transcript rendering to keep visible backslashes in Markdown escape sequences such as \" (#6105).
  • Fixed assistant messages stopped by output length to show a visible incomplete-response error (#4290).
  • Fixed --no-session --session-id so ephemeral CLI runs can use deterministic session IDs for provider cache affinity (#6070).
  • Fixed disk BMP image files to be detected, converted to PNG, and attached through read and CLI @file inputs (#6047).
  • Fixed auto-retry for provider stream errors that explicitly tell callers to retry the request (#6019).

v0.80.2

Changed

... (truncated)

Changelog

Sourced from @​earendil-works/pi-ai's changelog.

[0.80.3] - 2026-06-30

Added

  • Added Anthropic Claude Sonnet 5 model metadata for Anthropic-compatible, Bedrock, OpenRouter, and Vercel AI Gateway providers.
  • Added Azure OpenAI Responses support for modern Microsoft Foundry endpoint URLs (#6004 by @​gukoff).
  • Added an optional reasoning field to Usage reporting reasoning/thinking token counts as a subset of output. Populated for Anthropic (output_tokens_details.thinking_tokens), OpenAI Responses/Codex/Azure (output_tokens_details.reasoning_tokens), OpenAI Completions (completion_tokens_details.reasoning_tokens), and Google Generative AI / Vertex (thoughtsTokenCount). Bedrock Converse and Mistral are not populated because those APIs do not return a reasoning token breakdown (#6057).

Changed

  • Changed OpenAI Codex Responses SSE response-header waits to use the configured HTTP timeout instead of the previous fixed 20 second timeout, reducing false timeouts on slow connections (#4945).

Fixed

  • Fixed Claude Sonnet 5 metadata to use adaptive thinking payloads for Anthropic-compatible and Bedrock requests.
  • Fixed generated Xiaomi MiMo model pricing to match current pay-as-you-go pricing from models.dev (#6138).
  • Fixed provider HTTP errors to include response bodies instead of opaque SDK messages (#5832 by @​stephanmck).
  • Fixed streamSimple() to send a context-aware max-token cap so providers that count input and output against one context window do not reject long requests (#5595).
  • Fixed OpenAI Responses streams to preserve reasoning replay state when output items finish out of order (#6009).
  • Fixed retry classification for provider errors that explicitly tell callers to retry the request (#6019).
  • Fixed Z.AI preserved thinking requests to send thinking.clear_thinking: false when thinking is enabled, allowing replayed reasoning_content to participate in provider caching (#6083).

[0.80.2] - 2026-06-23

Changed

  • Changed ApiKeyCredential to use the auth.json-compatible discriminator type: "api_key" and provider-scoped env values instead of type: "api-key" and metadata.

Fixed

  • Fixed Anthropic-compatible custom models to use explicit compatibility metadata instead of provider-name heuristics for session-affinity headers and unsupported tool-field omissions.
  • Fixed request-scoped apiKey and env values to participate in provider auth resolution, so providers such as Cloudflare can derive request-specific base URLs from explicit call options (#6021).
  • Restored temporary legacy per-API stream aliases such as streamSimpleOpenAICompletions on the compat entrypoint (#6016, #6017).
  • Restored runtime detectCompat fallback in openai-completions for models without explicit compat metadata (#6020).

[0.80.1] - 2026-06-23

Fixed

  • Fixed a regression in Amazon Bedrock scoped AWS_PROFILE endpoint resolution for built-in inference profile endpoints.
  • Fixed Fireworks Anthropic-compatible requests to apply session-affinity and unsupported tool-field defaults for custom Fireworks models.
  • Fixed Together MiniMax M2.7 metadata to avoid unsupported Together reasoning toggles.

[0.80.0] - 2026-06-23

Breaking Changes

  • The root entrypoint (@earendil-works/pi-ai) is now core-only and side-effect free. The old global API moved to the temporary @earendil-works/pi-ai/compat entrypoint, a strict superset of the root: switching a file's import path is the only migration step. Moved symbols include stream/complete/streamSimple/completeSimple, getModel/getModels/getProviders (now deprecated aliases of getBuiltinModel/getBuiltinModels/getBuiltinProviders from @earendil-works/pi-ai/providers/all), registerApiProvider/unregisterApiProviders/resetApiProviders/getApiProvider, getEnvApiKey/findEnvKeys, setBedrockProviderModule, the per-API lazy stream wrappers (anthropicMessagesApi, ...), and the image-generation API.
  • Renamed the Provider type to ProviderId. Provider now names the runtime provider interface (id, name, auth, model listing, stream behavior).
  • API implementation modules moved from src/providers/ to @earendil-works/pi-ai/api/*, renamed by API id (anthropic -> api/anthropic-messages, google -> api/google-generative-ai, mistral -> api/mistral-conversations, amazon-bedrock -> api/bedrock-converse-stream), each exporting exactly stream and streamSimple. The old per-impl export names (streamAnthropic, streamSimpleAnthropic, ...) and legacy raw API subpaths (./anthropic, ./google, ./openai-completions, ...) are gone; import raw API implementations through @earendil-works/pi-ai/api/*.

... (truncated)

Commits
  • a23abe4 Release v0.80.3
  • f98a154 docs: audit changelog entries
  • 5c1a297 fix(ai): update generated model catalogue
  • 3d6acb3 fix(ai): regenerate model catalog
  • 6fbeba5 Merge pull request #5832 from stephanmck/fix/provider-error-body-passthrough-...
  • b91bdd5 fix(ai): preserve Z.AI thinking content
  • 5411373 fix(ai): use HTTP timeout for Codex SSE headers
  • 09f1059 fix(ai): clamp streamSimple max tokens
  • f78b163 fix(ai): revert minimax max token clamp
  • 62fad94 fix(ai): surface provider HTTP error body instead of opaque SDK message
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jun 15, 2026
@vercel

vercel Bot commented Jun 15, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
pi-for-excel Error Error Jul 4, 2026 1:00pm

@dependabot @github

dependabot Bot commented on behalf of github Jun 26, 2026

Copy link
Copy Markdown
Contributor Author

Dependabot can't access a private package registry without explicit configuration. Because of this, Dependabot cannot update this pull request.

@tmustier

tmustier commented Jul 4, 2026

Copy link
Copy Markdown
Owner

@dependabot rebase

@dependabot dependabot Bot changed the title chore(deps): bump the pi-stack group with 2 updates chore(deps): bump the pi-stack group across 1 directory with 2 updates Jul 4, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/pi-stack-87c41b9f75 branch from 75d737d to 8da6a72 Compare July 4, 2026 13:00
Bumps the pi-stack group with 2 updates in the / directory: [@earendil-works/pi-agent-core](https://github.com/earendil-works/pi/tree/HEAD/packages/agent) and [@earendil-works/pi-ai](https://github.com/earendil-works/pi/tree/HEAD/packages/ai).


Updates `@earendil-works/pi-agent-core` from 0.79.1 to 0.80.3
- [Release notes](https://github.com/earendil-works/pi/releases)
- [Changelog](https://github.com/earendil-works/pi/blob/main/packages/agent/CHANGELOG.md)
- [Commits](https://github.com/earendil-works/pi/commits/v0.80.3/packages/agent)

Updates `@earendil-works/pi-ai` from 0.79.1 to 0.80.3
- [Release notes](https://github.com/earendil-works/pi/releases)
- [Changelog](https://github.com/earendil-works/pi/blob/main/packages/ai/CHANGELOG.md)
- [Commits](https://github.com/earendil-works/pi/commits/v0.80.3/packages/ai)

---
updated-dependencies:
- dependency-name: "@earendil-works/pi-agent-core"
  dependency-version: 0.79.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pi-stack
- dependency-name: "@earendil-works/pi-ai"
  dependency-version: 0.79.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pi-stack
...

Signed-off-by: dependabot[bot] <support@github.com>
@tmustier

tmustier commented Jul 4, 2026

Copy link
Copy Markdown
Owner

Closing in favor of #588 — pi-ai 0.80 removed the legacy root API (getModel/getModels/…), so this needs the /compat entrypoint migration plus a Vite alias for pi-web-ui's dist imports, not just a version bump. #588 carries the same 0.80.3 versions with that migration and full verification.

@tmustier tmustier closed this Jul 4, 2026
@dependabot @github

dependabot Bot commented on behalf of github Jul 4, 2026

Copy link
Copy Markdown
Contributor Author

This pull request was built based on a group rule. Closing it will not ignore any of these versions in future pull requests.

To ignore these dependencies, configure ignore rules in dependabot.yml

@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/pi-stack-87c41b9f75 branch July 4, 2026 13:24
tmustier added a commit that referenced this pull request Jul 4, 2026
pi-ai 0.80 removed the legacy global API (getModel/getModels/stream/
complete/...) from the root entrypoint, replacing it with createModels()
and provider factories, and ships a temporary /compat entrypoint that
preserves the old surface. pi-web-ui 0.75.x still imports the old root
surface, so a full createModels() migration is blocked on a pi-web-ui
0.80-native release.

- switch all first-party imports to @earendil-works/pi-ai/compat
- add exact-match Vite alias (root -> /compat) for pi-web-ui dist imports
- update the Bedrock browser stub to the uniform ProviderStreams shape
  (stream/streamSimple) required by 0.80's setBedrockProviderModule()
- document the divergence + exit plan in docs/upstream-divergences.md §6
- refresh docs/model-updates.md last-verified date

Verification: check, build, test:models, test:context, test:security,
manifest validate all green; production-build taskpane boots cleanly in
browser fallback (agent-browser, zero page errors). Main chunk grows
1363 -> 1470 kB (compat pulls the full builtin provider catalog);
acceptable interim cost, removed with the /compat exit.

Supersedes #578
tmustier added a commit that referenced this pull request Jul 4, 2026
pi-ai 0.80 removed the legacy global API (getModel/getModels/stream/
complete/...) from the root entrypoint, replacing it with createModels()
and provider factories, and ships a temporary /compat entrypoint that
preserves the old surface. pi-web-ui 0.75.x still imports the old root
surface, so a full createModels() migration is blocked on a pi-web-ui
0.80-native release.

- switch all first-party imports to @earendil-works/pi-ai/compat
- add exact-match Vite alias (root -> /compat) for pi-web-ui dist imports
- update the Bedrock browser stub to the uniform ProviderStreams shape
  (stream/streamSimple) required by 0.80's setBedrockProviderModule()
- document the divergence + exit plan in docs/upstream-divergences.md §6
- refresh docs/model-updates.md last-verified date

Verification: check, build, test:models, test:context, test:security,
manifest validate all green; production-build taskpane boots cleanly in
browser fallback (agent-browser, zero page errors). Main chunk grows
1363 -> 1470 kB (compat pulls the full builtin provider catalog);
acceptable interim cost, removed with the /compat exit.

Supersedes #578
tmustier added a commit that referenced this pull request Jul 4, 2026
…int (#588)

* chore(deps): bump pi-ai + pi-agent-core to 0.80.3 via /compat entrypoint

pi-ai 0.80 removed the legacy global API (getModel/getModels/stream/
complete/...) from the root entrypoint, replacing it with createModels()
and provider factories, and ships a temporary /compat entrypoint that
preserves the old surface. pi-web-ui 0.75.x still imports the old root
surface, so a full createModels() migration is blocked on a pi-web-ui
0.80-native release.

- switch all first-party imports to @earendil-works/pi-ai/compat
- add exact-match Vite alias (root -> /compat) for pi-web-ui dist imports
- update the Bedrock browser stub to the uniform ProviderStreams shape
  (stream/streamSimple) required by 0.80's setBedrockProviderModule()
- document the divergence + exit plan in docs/upstream-divergences.md §6
- refresh docs/model-updates.md last-verified date

Verification: check, build, test:models, test:context, test:security,
manifest validate all green; production-build taskpane boots cleanly in
browser fallback (agent-browser, zero page errors). Main chunk grows
1363 -> 1470 kB (compat pulls the full builtin provider catalog);
acceptable interim cost, removed with the /compat exit.

Supersedes #578

* chore: remove dead 0.79-era Vite stub plugins (review nit)

Pre-merge review (gpt-5.5 xhigh) flagged the resolved-id fallback
branches of stubBedrockProviderPlugin / stubPiAiOAuthIndexPlugin as
mis-fire hazards on 0.80's layout (incompatible substitute exports).
Both plugins are dead code on 0.80: Bedrock is lazy-loaded behind a
variable specifier (runtime stub via setBedrockProviderModule is the
real mechanism) and the OAuth index is no longer re-exported from the
root. Removed both plugins and the orphaned src/stubs/pi-ai-oauth.ts;
documented in upstream-divergences.md §6.

* chore: move #587's new files onto the /compat entrypoint post-rebase
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant